﻿using System;
using System.Collections.Generic;
using UnityEngine;
public class MatchSetupSystem:MonoBehaviour
{
    [SerializeField] private HeroData heroData;
    [SerializeField] private PerkData perkData;
    [SerializeField] private List<EnemyData> enemyDatas;

    private void Start()
    {
        HeroSystem.instance.SetUp(heroData);
        EnemySystem.instance.SetUP(enemyDatas);
        CardSystem.instance.SetUp(heroData.Deck);
        PerkSystem.instance.AddPerk(new Perk(perkData));

        ActionSystem.instance.Perform(new HeroTurnGA());

    }
}
